package com.cs.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：NonTenderProject
 * @Date：2024/11/21 10:41
 * @Filename：NonTenderProject
 */
public class NonTenderProject extends BaseEntity {
    private static final long serialVersionUID = 4474634976654553715L;
    @Excel(name = "非招标项目ID")
    private Integer gid;
    @Excel(name = "合同ID")
    private Integer eid;
    @Excel(name = "采购计划序号")
    private Integer xyId;
    @Excel(name = "非招标项目编号")
    private String gCode;
    @Excel(name = "非招标项目名称")
    private String gName;
    @Excel(name = "公开/邀请")
    private Integer gIsPublic;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date gSpawnTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报价开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date gTimeon;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报价截至时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date gDeadline;
    @Excel(name = "报价数量")
    private Integer gCount;
    @Excel(name = "委托单位")
    private String gUnit;
    @Excel(name = "报价轮次")
    private Integer gRounds;
    @Excel(name = "业务类型")
    private Integer gTendertype;
    @Excel(name = "公司")
    private String gCompany;
    @Excel(name = "备注")
    private String gNotes;
    @Excel(name = "是否发布 0:未发布 1:已发布")
    private Integer gRelease;
    @Excel(name = "单一来源供应商")
    private Integer hid;

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public Integer getXyId() {
        return xyId;
    }

    public void setXyId(Integer xyId) {
        this.xyId = xyId;
    }

    public String getgCode() {
        return gCode;
    }

    public void setgCode(String gCode) {
        this.gCode = gCode;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public Integer getgIsPublic() {
        return gIsPublic;
    }

    public void setgIsPublic(Integer gIsPublic) {
        this.gIsPublic = gIsPublic;
    }

    public Date getgSpawnTime() {
        return gSpawnTime;
    }

    public void setgSpawnTime(Date gSpawnTime) {
        this.gSpawnTime = gSpawnTime;
    }

    public Date getgTimeon() {
        return gTimeon;
    }

    public void setgTimeon(Date gTimeon) {
        this.gTimeon = gTimeon;
    }

    public Date getgDeadline() {
        return gDeadline;
    }

    public void setgDeadline(Date gDeadline) {
        this.gDeadline = gDeadline;
    }

    public Integer getgCount() {
        return gCount;
    }

    public void setgCount(Integer gCount) {
        this.gCount = gCount;
    }

    public String getgUnit() {
        return gUnit;
    }

    public void setgUnit(String gUnit) {
        this.gUnit = gUnit;
    }

    public Integer getgRounds() {
        return gRounds;
    }

    public void setgRounds(Integer gRounds) {
        this.gRounds = gRounds;
    }

    public Integer getgTendertype() {
        return gTendertype;
    }

    public void setgTendertype(Integer gTendertype) {
        this.gTendertype = gTendertype;
    }

    public String getgCompany() {
        return gCompany;
    }

    public void setgCompany(String gCompany) {
        this.gCompany = gCompany;
    }

    public String getgNotes() {
        return gNotes;
    }

    public void setgNotes(String gNotes) {
        this.gNotes = gNotes;
    }

    public Integer getgRelease() {
        return gRelease;
    }

    public void setgRelease(Integer gRelease) {
        this.gRelease = gRelease;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("gid", gid)
                .append("eid", eid)
                .append("xyId", xyId)
                .append("gCode", gCode)
                .append("gName", gName)
                .append("gIsPublic", gIsPublic)
                .append("gSpawnTime", gSpawnTime)
                .append("gTimeon", gTimeon)
                .append("gDeadline", gDeadline)
                .append("gCount", gCount)
                .append("gUnit", gUnit)
                .append("gRounds", gRounds)
                .append("gTendertype", gTendertype)
                .append("gCompany", gCompany)
                .append("gNotes", gNotes)
                .append("gRelease", gRelease)
                .append("hid", hid)
                .toString();
    }
}
